<?php
/**
 * Created by PhpStorm.
 * User: songs
 * Date: 2019/10/15
 * Time: 9:13
 */

namespace App\Http\Controllers\AppApi\Home;

use App\Http\Controllers\AppApi\BaseController;
use Illuminate\Http\Request;
class ApiControler extends BaseController
{
    public function index($c,Request $request){
        \App\admin\Service\OA::load();
        if(!$c){
            \App\admin\Service\OA::Json(1,'参数错误,缺少api名称');
        }
        ///  OA::load();
        \App\Models\Admin\ApilistModel::callAPI($c,$request);
    }
}